This article explains how to install Nextcloud with Nginx and PHP7-FPM in CentOS7, run Nextcloud through Nginx and PHP7-FPM, and use MariaDB as a database system. This article explains how to install Nextcloud with Nginx and PHP7-FPM in CentOS7, run
Original: https://typecodes.com/web/centos7compilephp7.html?utm_source=tuicool&utm_medium=referral 1 create PHP users and user groups, and download PHP7 source on GitHubFirst create a user named PHP 没有登录权限 and a user group named PHP, and then go to
This article mainly describes how to use Nginx and php7-fpm to install Nextcloud in CentOS7, will run Nextcloud through Nginx and PHP7-FPM, while using MariaDB as a database system.
Nextcloud is a free (open source) class Dropbox software that
PHP7 and PHP5 coexist in CentOS7Original referencePrincipleThe idea is simple: PHP5 is installed through Yum in/usr/, sockets in/VAR/RUN/PHP-FPM.SOCKET,PHP7 themselves compiled in/USR/LOCAL/PHP7, sockets in/var/run/ PHP7-FPM.SOCKET,NIGNX Specifies
Create PHP users and user groups
Start by creating a user named PHP with no login rights and a user group named PHP
###### #新建php用户和php组 [root@localhost ~]# groupadd-r php && useradd-r-G php-s/bin/false-d/usr/local/php7-m ph P
Compile the
QQ member activity Operation Platform (AMS), is one of the important carriers of QQ member value-added Operation business, and undertakes the web system of mass activity operation. AMS is a major implementation of the PHP language activities
Environment description
CentOS 7 x64 4-core 2G memory built in VMware 12
The http://blog.csdn.net/u014595668/article/details/50166277 installed MySQL5.7.9 is already installed in the environment
Tools downloadCompilation
Compile the method of installing PHP7 under openSUSE42.1,
First recommend a post PHP 7 Release Date Arrived:will developers adopt PHP 7? -PHP Classes Blog.
In terms of whether to use PHP7, personally, I do not hesitate to use, but the production
Install php7 + php5 in nginx and php7php5 in nginx
Start
Previously, I set up a lamp environment on the server. I want to use nginx with higher performance as the server software and upgrade php5 to php7.
To install nginx, do not go into details:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.